<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateWebConfigCategoryTable extends Migration
{
    /**
     * 网站配置分类表
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::create('web_config_categroy', function (Blueprint $table) {
            $table->engine='MyISAM';
            $table->comment='网站配置分类表';
            $table->increments('id')->unsigned()->comment('自动增长主键');
            $table->string('describe',60)->default('')->comment('类别名称');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
        Schema::drop('web_config_categroy');
    }
}
